/* 20190516 FONTS */
@font-face {
	font-family: Consolas;
	src: url('/static/font/CONSOLA.TTF');
}

/* 20190428 SOME ELEMENTS */
body {
	display: flex;
	flex-direction: column;
	background-color: #F1F1F1;
	word-wrap: break-word;
	word-break: break-all;
	margin: 0;
}
h1 {line-height: 25px; height: 25px;}

/* 20190428 HEADER */
header {
	/*box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.1);
	background-color: #F9F9F9;*/
	width: 100%;
	line-height: 30px;
	padding: 38px 0 10px 0;
}
header>h1 {
	display: inline;
	font-size: 25px;
	padding: 0 10%;
	margin: 0 20px;
}
.footer {
	display: flex;
	justify-content: center;
}

/* 20190430 LOGIN */
.frame-login {
	width: 80%;
	height: 100%;
	padding: 0 10%;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	background: url('https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1556612593156&di=1bf612dfb0754381d727e391b0d1baa7&imgtype=0&src=http%3A%2F%2Fbpic.588ku.com%2Fback_pic%2F03%2F73%2F40%2F6057ba9318892ad.jpg') no-repeat scroll;
	background-size:cover
}
.frame-login #login-main {
	width: 40%;
}
.frame-login-form {
	margin: 0 20px;
}
.login-bar-up {
	display: flex;
	margin: 10px 20px 30px;
	font-size: 22px;
	color: #333;
}
.login-bar-down {
	display: flex;
	justify-content: flex-end;
	margin-top: 50px;
	font-size: 14px;
}
#login-main .li {
	box-shadow: 1px 1px 6px 2px rgba(0, 0, 0, 0.1);
}
.container-status {
	width: 200px;
	height: 40px;
	line-height: 40px;
	border-radius: 8px;
	background-color: #fff;
	box-shadow: 1px 1px 6px 2px rgba(0, 0, 0, 0.1);
	position: absolute;
	text-align: center;
	z-index: 100;
	margin-top: 80px;
	left: 50%;
	margin-left: -100px;
	color: #666666;
	font-size: 15px;
	display: none;
}
.container-status .success {color: #009966;}
.container-status .failed {color: #CC0033;}

/* 20190426 FONT AWESOME */
.fa-fw {margin-bottom: 3px; font: normal normal normal 14px/1 FontAwesome;}

/* 20190428 NAVIGATION BAR */
.nav {
	z-index: 1000;
	box-shadow: 0px 2px 5px 1px rgba(0, 0, 0, 0.15);
	top: 0;
	position: fixed;
	line-height: 20px;
	width: 100%;
}
.nav>.nav-container {
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	list-style-type: none;
	margin: 0;
	overflow: hidden;
	background-color: #3399CC;
}
.nav>.nav-container>.nav-element {}
.nav>.nav-container>.nav-divide {flex: 1;}
.nav>.nav-container>.nav-side {width: 10%;}
.nav>.nav-container>.nav-element>a {
	display: block;
	color: #FFFFFF;
	text-align: center;
	min-width: 50px;
	padding: 14px 16px;
	text-decoration: none;
	transition: background-color 0.5s;
}
.nav>.nav-container>.nav-element>a:hover {color: #FFFFFF; background-color: #336699;}

/* 20190428 <a> */
a {color: #3399CC; text-decoration: none;}
a:hover {color: #336699;}

/* 20190428 <button> */
button {
	box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.1);
	border-radius: 5px;
	border: none;
	color: white;
	padding: 8px 16px;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	transition: background-color 0.5s;
	cursor: pointer;
}
button.green {background-color: #4CAF50;}
button.green:hover {background-color: #2C8F30;}
button.blue {background-color: #3399CC;}
button.blue:hover {background-color: #336699;}
button.red {background-color: #F44336;}
button.red:hover {background-color: #D42316;}

.hidden {display: none;}
.status-large * {font-size: 20px; padding: 3px;}

.record * {display: inline-block; vertical-align: middle; line-height: 16px;}
.record span {font-family: Consolas; }
.record .waiting {color: #666666;} /* -1 */
.record .unknownError {color: #003399;} /*0 */
.record .accepted {color: #009966;} /*1 */
.record .wrongAnswer {color: #CC0033;} /*2 */
.record .runtimeError {color: #663366;} /*3 */
.record .compileError {color: #FF9900;} /*4 */
.record .timeLimitExceeded {color: #003399;} /*5 */
.record .memoryLimitExceeded {color: #003399;} /*6 */
.record .outputLimitExceeded {color: #003399;} /*7 */
.record .judging {color: #666666;} /*8 */

.record {font-size: 16px;}
.record .li:first-child {font-size: 20px;}
.record .li>div {display: inline-block;}
.record .li>div:nth-child(1) {width: 35px;}
.record .li>div:nth-child(2) {width:200px;}
.record .li>div:nth-child(3) {width: 80px;}
.record .li>div:nth-child(4) {width: 80px;}

.container {
	display: -webkit-flex;
	display: flex;
	flex-direction: row;
	justify-content: space-around;
	align-items: center;
	flex-wrap: nowrap;
	height: 20px;
}
.container-right {
	display: -webkit-flex;
	display: flex;
	flex-direction: row;
	justify-content: flex-end;
	flex-wrap: nowrap;
	height: 20px;
}
.container * {
	text-align:center;
	overflow: hidden;
	word-break: keep-all;
	white-space: nowrap;
	text-overflow: ellipsis;
	font-size: 16px;
}
.container a {padding: 0; margin-left: 0!important;}
.container-header {height: 10px;}
.container-header * {font-size: 15px; font-weight: bold;}
.container .id {width: 50px;}
.container .id-text {width: 100px; color: #444444;}
.container .problem {width: 150px;}
.container .status {width: 210px;}
.container .number {width: 80px; font-family: Consolas;}
.container .number-short {width: 50px; font-family: Consolas;}
.container .number-text {width: 130px; color: #444444; font-family: Consolas;}
.container .user {width: 80px;}
.container .user a {width: 80px;}
.container .time {width: 170px; font-family: Consolas;}
.container .name {width: 60%;}
.container .left {text-align: left;}
.container-record {cursor: hand;}
.container-info {display: none; margin: 10px; padding: 8px;}

.text {color: #444; font-size: 16px;}
.container-text {
	padding: 5px 12px;
	border: 1px solid #ccc;
	box-shadow: 0.5px 0.5px 1px 0.5px #ddd;
	border-radius: 4px;
	color: #444;
	font-size: 16px;
}
.info {font-family: Consolas;}

.container-page {
	text-align: center;
	margin: 10px 0;
}

/* BLOCKQUOTE 20190214 */
blockquote {
	font: 14px/22px normal 'Consolas';
	margin-top: 10px;
	margin-bottom: 10px;
	margin-left: 0px;
	padding-left: 15px;
	padding-right: 10px;
	border-left: 3px solid #ccc;
	background-color: #f1f1f1;
	word-break: normal;
}

